<?php

namespace WoXuanWang\Advertisement\Repositories;

use WoXuanWang\Advertisement\Models\Advertisement;
use zgldh\Scaffold\BaseRepository;

class AdvertisementRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'url',
        'image_upload_id',
        'description'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Advertisement::class;
    }
}
